package com.wn.class30.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * admin_user
 * @author 
 */
@Data
@NoArgsConstructor
public class AdminUser implements Serializable {
    /**
     * 管理员ID
     */
    private Integer adminUserId;

    /**
     * 管理员名称
     */
    private String adminUserName;

    /**
     * 管理员密码
     */
    private String adminUserPwd;

    /**
     * 角色ID
     */
    private Integer adminUserRoleId;

    /**
     * 商家ID
     */
    private Integer businessId;

    /**
     * 管理员电话
     */
    private String tel;

    private static final long serialVersionUID = 1L;


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", adminUserId=").append(adminUserId);
        sb.append(", adminUserName=").append(adminUserName);
        sb.append(", adminUserPwd=").append(adminUserPwd);
        sb.append(", adminUserRoleId=").append(adminUserRoleId);
        sb.append(", businessId=").append(businessId);
        sb.append(", tel=").append(tel);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}